package com.tedu.emmybatis3.mapper;

import com.tedu.emmybatis3.pojo.Customer;
import com.tedu.emmybatis3.pojo.CustomerVO1;
import com.tedu.emmybatis3.pojo.CustomerVO2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerMapper {
    int insertCustomer(Customer customer);

    CustomerVO1 selectCustNameAndCustTel(String custId);

    List<CustomerVO2> selectCustNameAndCity(String city);
}
